/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.enums;

/**
 *@ClassName: TableEnum
 *@Description: 表相关信息Enum
 *@author youjun
 *@date 2017年7月31日 下午2:29:06
 */
public enum TableEnum {

	/**经销商*/
	DEALERS("_dealers", "经销商", true),
	
	/**拆组箱*/
	DEVANNING_PACKING_BOX("_devanning_packing_box", "拆组箱", true),
	
	/**拆组垛*/
	DISMANTLE_PILE_STACK("_dismantle_pile_stack", "拆组垛", true),
	
	/**工厂*/
	FACTORY("_factory", "工厂", true),
	
	/**入库*/
	IN_STORAGE("_in_storage", "入库", true),
	
	/**入库详情*/
	IN_STORAGE_DETAIL("_in_storage_detail", "入库详情", true),
	
	IN_STORAGE_TERMINAL_USER("_in_storage_terminal_user", "", true),
	
	/**工控机*/
	IPC("_ipc", "工控机", true),
	
	/**原因代码*/
	MACHINE_HALT_REASON("_machine_halt_reason", "原因代码", true),
	
	/**出库*/
	OUT_STORAGE("_out_storage", "出库", true),
	
	/**出库详情*/
	OUT_STORAGE_DETAIL("_out_storage_detail", "出库详情", true),
	
	OUT_STORAGE_TERMINAL_USER("_out_storage_terminal_user", "", true),
	
	DEALER_OUT_STORAGE_TERMINAL_USER("_dealers_out_storage_terminal_user", "", true),
	
	DEALER_IN_STORAGE_TERMINAL_USER("_dealers_in_storage_terminal_user", "", true),
	
	/**包装管理*/
	PACK_STANDARD("_pack_standard", "包装管理", true),
	
	/**产品*/
	PRODUCT("_product", "产品", true),
	
	PRODUCTION_DATA_UPLOADS("_production_data_uploads", "", true),
	
	/**生产订单*/
	PRODUCTION_PLAN("_production_plan", "生产订单", true),
	
	/**生产任务*/
	PRODUCTION_TASK("_production_task", "生产任务", true),
	
	/**产线*/
	PRODUCT_LINE("_product_line", "产线", true),
	
	/**班组*/
	PRODUCT_TEAM("_product_team", "班组", true),
	
	/**手持终端*/
	TERMINAL("_terminal", "手持终端", true),
	
	/**手持终端用户*/
	TERMINAL_USER_INFO("_terminal_user_info", "手持终端用户", true),
	
	/**用户*/
	USERS("_users", "用户", true),
	
	/**仓库*/
	WAREHOUSE("_warehouse", "仓库", true),
	
	/**库存*/
	WAREHOUSE_STOCK("_dealers_stock", "库存", true),
	
	/**库存详情*/
	WAREHOUSE_STOCK_DETAILS("_dealers_stock_details", "库存详情", true),
	
	/**车间*/
	WORKSHOP("_workshop", "车间", true),
	
	/**异步任务*/
	SYNCTASK("_sync_task", "异步任务", true);
	
	/**表名*/
	private String name;
	
	/**描述*/
	private String desc;
	
	/**是否为分表策略,为true,表名加上传递的企业code*/
	private boolean isSubmeter;
	
	/**
	 *@Title: TableEnum
	 *@Description: TODO
	 *@param name
	 *@param desc
	 */
	private TableEnum(String name, String desc, boolean isSubmeter) {
		this.name = name;
		this.desc = desc;
		this.isSubmeter = isSubmeter;
	}

	/**
	 *@return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 *@return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 *@return the isSubmeter
	 */
	public boolean getIsSubmeter() {
		return isSubmeter;
	}
	
}
